using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.CommonManageModel
{

	[JsonObject(MemberSerialization.OptIn), Table(Name = "Reg_InfoUnit", DisableSyncStructure = true)]
	public partial class RegInfoUnit {

		[JsonProperty, Column(Name = "EI_ID", DbType = "varchar(50)", IsPrimary = true, IsNullable = false)]
		public string EIID { get; set; }

		[JsonProperty, Column(Name = "EI_Code", DbType = "varchar(100)", IsNullable = false)]
		public string EICode { get; set; }

		[JsonProperty, Column(Name = "EI_ISGetAllList")]
		public int EIISGetAllList { get; set; } = 0;

		[JsonProperty, Column(Name = "EI_Name", DbType = "varchar(255)")]
		public string EIName { get; set; }

		[JsonProperty, Column(Name = "EI_Parameter", StringLength = 500)]
		public string EIParameter { get; set; }

		[JsonProperty, Column(Name = "EI_ParentID", DbType = "varchar(50)")]
		public string EIParentID { get; set; }

		[JsonProperty, Column(Name = "EI_Remark", DbType = "varchar(5000)")]
		public string EIRemark { get; set; }

		[JsonProperty, Column(Name = "EI_ShowIndex")]
		public int? EIShowIndex { get; set; }

		[JsonProperty, Column(Name = "EI_TestText", DbType = "varchar(5000)")]
		public string EITestText { get; set; }

		[JsonProperty, Column(Name = "EN_ID", DbType = "varchar(50)")]
		public string ENID { get; set; }

		[JsonProperty, Column(InsertValueSql = "getdate()")]
		public DateTime? UpdateTime { get; set; }

	}

}
